package com.olymtech.jbricks.jbricks;

import com.google.common.collect.Lists;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CompletableFuture;
import java.util.concurrent.TimeUnit;

/**
 * @author haoting.wang
 * @date 2020/11/4 4:05 下午
 **/
public class Demo {


    public static void main(String[] args) throws IOException {
//
//        MetricRegistry registry = new MetricRegistry();
//        final ScheduledReporter reporter = InfluxDbReporter.forRegistry(registry)
//                .convertRatesTo(TimeUnit.SECONDS)
//                .convertDurationsTo(TimeUnit.MILLISECONDS)
//                .filter(MetricFilter.ALL)
//                .skipIdleMetrics(false)
//                .build();
//        reporter.start(10, TimeUnit.SECONDS);
//
//        System.in.read();
    }
}
